--
-- created with TexturePacker (http://www.texturepacker.com)
--
-- $TexturePacker:SmartUpdate:8ba22cc0ba3a7245f3c2091061e09b4d$
--
-- local sheetInfo = require("myExportedImageSheet") -- lua file that Texture packer published
--
-- local myImageSheet = graphics.newImageSheet( "ImageSheet.png", sheetInfo:getSheet() ) -- ImageSheet.png is the image Texture packer published
--
-- local myImage1 = display.newImage( myImageSheet , sheetInfo:getFrameIndex("image_name1"))
-- local myImage2 = display.newImage( myImageSheet , sheetInfo:getFrameIndex("image_name2"))
--

local SheetInfo = {}

SheetInfo.sheet =
{
    frames = {
    
        {
            -- charactermask2-1
            x=174,
            y=164,
            width=106,
            height=162,

            sourceX = 0,
            sourceY = 8,
            sourceWidth = 105,
            sourceHeight = 169
        },
        {
            -- charactermask2-2
            x=162,
            y=334,
            width=92,
            height=164,

            sourceX = 8,
            sourceY = 2,
            sourceWidth = 105,
            sourceHeight = 169
        },
        {
            -- charactermask2-3
            x=0,
            y=336,
            width=88,
            height=168,

            sourceX = 10,
            sourceY = 0,
            sourceWidth = 105,
            sourceHeight = 169
        },
        {
            -- charactermask2-4
            x=104,
            y=0,
            width=100,
            height=164,

            sourceX = 0,
            sourceY = 2,
            sourceWidth = 105,
            sourceHeight = 169
        },
        {
            -- charactermask2-5
            x=204,
            y=0,
            width=98,
            height=162,

            sourceX = 0,
            sourceY = 6,
            sourceWidth = 105,
            sourceHeight = 169
        },
        {
            -- charactermask2-6
            x=254,
            y=326,
            width=90,
            height=162,

            sourceX = 6,
            sourceY = 4,
            sourceWidth = 105,
            sourceHeight = 169
        },
        {
            -- charactermask2-7
            x=94,
            y=168,
            width=80,
            height=166,

            sourceX = 16,
            sourceY = 2,
            sourceWidth = 105,
            sourceHeight = 169
        },
        {
            -- charactermask2-8
            x=88,
            y=336,
            width=74,
            height=168,

            sourceX = 24,
            sourceY = 0,
            sourceWidth = 105,
            sourceHeight = 169
        },
        {
            -- fallingmask2
            x=0,
            y=0,
            width=104,
            height=168,

            sourceX = 0,
            sourceY = 0,
            sourceWidth = 104,
            sourceHeight = 169
        },
        {
            -- standby3
            x=0,
            y=168,
            width=94,
            height=168,

            sourceX = 0,
            sourceY = 0,
            sourceWidth = 104,
            sourceHeight = 169
        },
    },
    
    sheetContentWidth = 512,
    sheetContentHeight = 512
}

SheetInfo.frameIndex =
{

    ["charactermask2-1"] = 1,
    ["charactermask2-2"] = 2,
    ["charactermask2-3"] = 3,
    ["charactermask2-4"] = 4,
    ["charactermask2-5"] = 5,
    ["charactermask2-6"] = 6,
    ["charactermask2-7"] = 7,
    ["charactermask2-8"] = 8,
    ["fallingmask2"] = 9,
    ["standby3"] = 10,
}

function SheetInfo:getSheet()
    return self.sheet;
end

function SheetInfo:getFrameIndex(name)
    return self.frameIndex[name];
end

return SheetInfo
